package com.sstir.doctor.mapper;

import com.sstir.doctor.entity.QueListEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hanjunjun
 * @since 2021-01-15
 */
public interface QueListMapper extends BaseMapper<QueListEntity> {

    /**
     * 随机获取n个问题
     *
     * @param quesCount
     * @param existQueIds
     * @return java.util.List<com.sstir.doctor.entity.QueListEntity>
     * @author  hjj
     * @date 2021/1/15
     **/
    List<QueListEntity> getRandomQues(@Param("quesCount") int quesCount, @Param("existQueIds") List<String> existQueIds);

}
